//
//  DiarySecondTableViewCell.h
//  土巴兔
//
//  Created by 千锋 on 16/1/5.
//  Copyright (c) 2016年 IOS1503薛凯. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DiarySecondModel.h"
@interface DiarySecondTableViewCell : UITableViewCell

@property (strong,nonatomic)UIImageView* bgImage;
@property (strong,nonatomic)UIButton* toptag_nameBtn;//人气标签
@property (strong,nonatomic)UIButton* headerBtn;//头像
@property (strong,nonatomic)UILabel* nameLabel;//主标题
@property (strong,nonatomic)UILabel* subLabel;//副标题 (15.2万/254m/复式/简约)
@property (strong,nonatomic)UILabel* small_tag_nameBtn;//装修类型(墙面烤漆)
@property (strong,nonatomic)UILabel* diary_contentLabel;//日记内容
@property (strong,nonatomic)UIImageView *diary_imageFirst;
@property (strong,nonatomic)UIImageView *diary_imageSecond;
@property (strong,nonatomic)UIImageView *diary_imageThirs;
@property (strong,nonatomic)UIButton *view_numBtn;//浏览次数
@property (strong,nonatomic)UIButton* comment_number;//评论次数
@property (strong,nonatomic)UIButton* recent_time;//发布时间
- (void)relayoutWithModel:(DiarySecondModel*)model;
@end
//"owner_id": "4818730",
//"cover_image": "http://pic.to8to.com/live/day_151001/20151001_07ee082732da4af2705aCgw7MMV9FBO4.jpg",
//"id": "2796866",
//"progress_id": 1,
//"area": 254,
//"owner_name": "18601103515",
//"style": [
//          {
//              "typeId": 13,
//              "value": "简约"
//          },
//          {
//              "typeId": 100,
//              "value": ""
//          }
//          ],
//"house_type": "5",
//"diary_content": "20160104\n几天不去工地，刮了第一遍白。\n露台的窗台石下立面用磁砖条又贴了一层。\n另外，家里可以看电视了。。。",
//"diary_image": [
//                "http://pic.to8to.com/live/day_160104/20160104_2f091663671ac9e13829uMMjp3JWHlbm.jpg",
//                "http://pic.to8to.com/live/day_160104/20160104_27a0d33fdf750809dd4fymn1jjlHM53u.jpg",
//                "http://pic.to8to.com/live/day_160104/20160104_161ea1cbd13baf29cafcWUxGXWqg1XDn.jpg"
//                ],
//"small_tag_name": "墙面刷漆",
//"comment_number": 21,
//"name": "127平带阁楼，装修进行时",
//"diary_number": 56,
//"product_price": 152244.2,
//"owner_avatar": "",
//"type_name": "半包",
//"view_num": 2399,
//"recent_time": "7分钟前",
//"house_type_name": "复式",
//"toptag_name": "人气旺",
//"toptag_color": "F9787C",
//"collect_num": 11